import request from '@/utils/request'

// oa统计分析
export function oaStatistics(query) {
  return request({
    url: '/oa/index/oaStatistics',
    method: 'get',
    params: query
  })
}

// 任务统计
export function getTaskStatistics(query) {
  return request({
    url: '/oa/dispathstatistics/getStatistics',
    method: 'get',
    params: query
  })
}

// 项目统计
export function getProjectStatistics(query) {
  return request({
    url: '/oa/itemStatistics/getStatistics',
    method: 'get',
    params: query
  })
}
